<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>留言板首页</title>
    <link rel="stylesheet" href="../public/lib/bootstrap.css">
    <link rel="stylesheet" href="../public/css/index.css">
</head>
<body>
          <div class="header container">
                <div class="textmessage">
                   <h1>留言板
                  <small>主要技术：(服务端渲染页面)/
                         基于Node.js环境/
                         Experss框架/
                         art-template模板引擎/
                         body-parser三方中间件
                  </small>
                  </h1>
                   <a class="btnBagc btn btn-primary " href="/post">编写留言</a>
                </div>                  
                
          </div>
          <div class="content container">
                <ul class="list-group">
                  {{ each demoJosn }}
                    <li class="list-group-item">{{ $value.name }} 说: {{ $value.message }}
                          <span class="pull-right">{{ $value.dataTime }}</span>
                    </li>
                    {{ /each }}
                </ul>
          </div>
</body>
</html>